Thank you so much. This fixed our issue. I'll make sure to link your answer in all existing threads, as there are a few of them.
More info:
In one of our apps, in application(_:didFinishLaunchingWithOptions:), based on what flags in UserDefaults are set, we either present the main dashboard OR do a complete cleanup (UserDefaults + Keychain) and present the login screen.
In our case, Data Protection Entitlement was indeed set to NSFileProtectionComplete years ago. This, combined with Prewarming caused the issue in our case.
Post
Replies
Boosts
Views
Activity
Edit: I've replied below to preserve formatting
cc @mycool @ios-mediafly
We've tried using isProtectedDataAvailable. Sadly no luck.
Is your Data Entitlement Protection level set to NSFileProtectionComplete?
Any update on this @Pixalab?
Would you mind sharing the solution @Pixalab?